As the DHTML menu module makes it so quick and easy to navigate large menu structures anyway, I find it unnecessary (and untidy) to have it leave all the sub-menus open. Is/can there be a way to disable the remembering of menu states, and have them return to a collapsed state on each page load?
Comments
Comment #1
eclipsegc commentedIt would be better (imo) if the menu functioned either by closing open menus when a new submenu (in the same main menu) is opened, or by closing all menus but the one containing the active link on the next load.
Just my 2 cents.
Comment #2
canadrian commentedGood point.
Comment #3
merlinofchaos commentedReturning to a collapsed state would actively suck.
Closing 'other' menu chains might be ok but would require more work and I don't think I'd personally like it very much. I like being able to keep multiple chains open; I find it very useful in the administration menu.
Comment #4
canadrian commentedWell I'm not asking to change the module for everybody - I realize people may like the sticky menus! I was just hoping for a toggle - or heck, just a pointer to where I could comment out a line of code or something. Because I frequently hop all over my site, and more and more menus get expanded, and next thing you know I'm scrolling up and down pages of items to find what I want. I'd rather have to click a few well-organized nested menu items than have to skim pages of text.
So yeah, this isn't for everybody. But regardless, just for my own use, is there a way?
Comment #5
eclipsegc commentedI concur. I find that more often than not the menu ends up with everything open if it's not manually closed, and I've used this on customer's sites, it has great potential, just needs a few things fixed around the edges. I don't want the menu collapsed all the way all the time either, I just want opened menus/submenus to close when another is clicked. Boy, I made that sound simple LOL, yeah it's probably a lot of work, and I don't expect it to happen really, but if it did, it would be a great addition.
Comment #6
robotjox commentedI have to agree here - I'm using the dhtml menu as a horizontal menu for my primary links, and the fact that the menus stay open even after you click another parent item looks really messed up.
I would love to get some pointers on how to change this behaviour as that would perfect this module for me.
thanks
Comment #7
patrickharris commentedI agree. If there was an option for an open root menu to close when another root menu is opened, this would dramatically reduce the usability of this module for a lot of people.
Comment #8
patrickharris commentedSorry! - I mean dramatically INCREASE the usability of this module for a lot of people (particularly less computer literate people).
Comment #9
oprior commentedme too pleeease!
Comment #10
colorado commentedHere's a possible solution for this issue:
http://drupal.org/node/151180
Comment #11
brmassa commentedGuys,
Close a sibling menus when one is expanded is now implemented. see http://drupal.org/node/151180 (only for D6).
Closing ALL menus on page load will be not implemented at all. :P
regards,
massa
Comment #12
canadrian commentedJust a note: for anyone looking for all menus to collapse on each page load, check out the jstools package - the dynamic menu block feature that comes with jstools works similarly to DHTML menu (though a bit slower), and the sub-menus all collapse on each page load.
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.